|
Hello..
Trying to get some things setup a bit more now that I have most of my gantry built.
Anyway, I have movement in mach and can jog. So wanted to hook up some form of estop input. Figured that would be easy enough.
I wired in my limit switches to trigger the optoical I/O - 0 (zero) on the kanalog board. I can see in the k CNC setup that I can toggel this check on and off. So I know my connection and switches are working.
says on the screen this is bit #136.
So figured I could go into ports and pins (in mach) and setup estop on pin 136. But when I enter this number for that apply and ok. Then go back in the value in the pin for the estop field changes to -120
So wondering how this is done or rather if the opto inputs can be tied to mach?
Anyone with some sample mach C setup code would also be great and could send that to me to look at.
b.
|